package com.agritech.strategy;

import com.agritech.observer.EnvironmentData;

/**
 * 普通路径规划策略
 */
public class NormalPathStrategy implements PathPlanningStrategy {
    @Override
    public String calculatePath(double currentLat, double currentLon,
                                double targetLat, double targetLon,
                                EnvironmentData environmentData) {
        return String.format("使用普通路径规划：从(%.2f, %.2f)到(%.2f, %.2f)",
                currentLat, currentLon, targetLat, targetLon);
    }
}